#include "Logger.h"

namespace Softwarer {

	Logger::Logger(LogLevel level, IDisplay* display) 
		: m_level(level)
		, m_display(display)
	{

	}
	/*
	void Logger::dispaly(LogLevel level, unsigned int code, const std::string& message)
	{
		if (m_display == nullptr || level < m_level)
		{
			return;
		}
		LogMsg msg;
		msg.level = level;
		msg.code = code;
		msg.message = message;
		m_display->display(msg);
	}*/

	void Logger::error(unsigned int code, const std::string& message)
	{
		//dispaly(ERROR, code, message);
	}
	void Logger::trace(const std::string& message)
	{
		//dispaly(TRACE, 0, message);
	}
	Logger::~Logger() {

	}
}